from Mageia, via Olav Vitters
https://bugzilla.gnome.org/show_bug.cgi?id=653119
return;
cursor_image = XFixesGetCursorImage (clutter_x11_get_default_display ());
+ if (!cursor_image)
+ return;
recorder->cursor_hot_x = cursor_image->xhot;
recorder->cursor_hot_y = cursor_image->yhot;
return;
cursor_image = XFixesGetCursorImage (clutter_x11_get_default_display ());
+ if (!cursor_image)
+ return;
/* Like all X APIs, XFixesGetCursorImage() returns arrays of 32-bit
* quantities as arrays of long; we need to convert on 64 bit */